﻿@model Test710.Models.Tournament

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Layout.cshtml";
}

<h2>Details</h2>
<div id="accordion">
  <h3>Thông Tin Giải Đấu</h3>
  <div>
   <div class="editor-label">
            @Html.LabelFor(model => model.TournamentsName)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.TournamentsName, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.TournamentsName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Season)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Season, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.Season)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Association)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Association, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.Association)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.State)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.State, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.State)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Soccertype)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Soccertype, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.Soccertype)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NumberOfRound)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.NumberOfRound, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.NumberOfRound)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StartDate)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.StartDate, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.StartDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EndDate)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.EndDate, new { @disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.EndDate)
        </div>
    </div>
    </div>
  <p>
    @Html.ActionLink("Edit", "Edit", new {  id=Model.TournamentsId }) |
    @Html.ActionLink("Back to List", "Index")
</p>